#
# Be sure to run `pod lib lint MirrorWechatSDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

 

framework_path = "Frameworks/Release/MirrorWechatSDK.xcframework"

Pod::Spec.new do |s|
  s.name             = 'MirrorWechatSDK'
  s.version          = '0.1.1'
  s.summary          = 'MirrorWechatSDK can export the WechatOpenSDK to swift as a framework module.'
  s.swift_version    = '5.0'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://dev-gitlab.lotuscars.com.cn/lfc-frontend/ios/mirrorrepo/mirror-wechatsdk'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'Eric Wang' => 'me@ericwang.com' }
  s.source           = { :git => 'https://dev-gitlab.lotuscars.com.cn/lfc-frontend/ios/mirrorrepo/mirror-wechatsdk.git', :tag => 'WechatSDK-' + s.version.to_s }

  s.ios.deployment_target = '10.0'

  s.cocoapods_version = '>= 1.10.0'
  s.static_framework = false
  s.prefix_header_file = false

  s.public_header_files = "#{framework_path}/Headers/*.{h}"
  
  s.preserve_paths = [
    'README.md',
    'CHANGELOG.md'
  ]
  
  s.frameworks = ['SystemConfiguration', 'Security', 'CoreTelephony', 'CFNetwork', 'CoreGraphics', 'WebKit']
  
  s.vendored_frameworks = "#{framework_path}"
  s.xcconfig = {
    'OTHER_LDFLAGS' => '-ObjC -all_load'
  }

end
